package com.xrh.xdemo.api.request.addRequest;

import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class UserVsRoleAddRequest{

    /**用户id */
	@ApiModelProperty("用户id")
	@NotNull(message = "用户id不能为空")
	private Long sysUserId;

	/**角色id */
	@ApiModelProperty("角色id")
	@NotNull(message = "角色id不能为空")
	private Long sysRoleId;

}
